package com.corpdata.system.org.dao;

import com.corpdata.system.org.entity.OrgRangeMap;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import com.corpdata.core.base.BaseMapper;

/**
 *  持久层接口
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-08-22 15:38:59
 * 
 */
public interface OrgRangeMapMapper extends BaseMapper<OrgRangeMap>{
	@Delete("delete FROM org_range_map  WHERE fk_role=#{fkRole} and fk_permission=#{fkPermission}")
	int delete(@Param("fkRole")String fkRole,@Param("fkPermission") String fkPermission);

}
